package com.example.repository;

import com.example.entity.Customer;
import org.springframework.data.neo4j.repository.GraphRepository;

import java.util.List;

/**
 * Created by Administrator on 2017/3/2 0002.
 */
public interface CustomerRepository extends GraphRepository<Customer> {

    public Customer findByFirstName(String firstName);

    public List<Customer> findByLastName(String lastName);

}
